import request from '@/utils/request'

/**
 * 1C检测数据查询
 */
export function importData() {
  return request({
    url: '/cms/JcjcRowDataImportLog/download',
    method: 'post'
  })
}

export function pillarUpload(query) {
  const config = {
    'Content-Type': 'multipart/form-data'
  }

  return request({
    url: '/cms/JcjcRowDataImportLog/upload/',
    method: 'POST',
    data: query,
    headers: config
  })
}

export function getListPage(params) {
  return request({
    url: '/cms/JcjcRowDataImportLog/listPage',
    method: 'get',
    params: params
  })
}

